package com.chanzany.prototype.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class SpringApplication {
    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext("com.chanzany.prototype");
        Object customer = context.getBean("customer");
        Object customer1 = context.getBean("customer");
        System.out.println(customer.hashCode());
        System.out.println(customer1.hashCode());
    }
}
